﻿using Paas.App.Interface.Approvals.Dtos;
using Paas.Core.Const.Enums.Approvals;
using Basefr.App.Messages;
using Basefr.Core.Consts.Enums;

namespace Paas.App.Interface.Approvals.Messages
{
    public class GetTemplateInput : IInput
    {
        public EnumApproveType Type { get; set; }
    }
    public class GetTemplateOutput : QuerySingleOutput<ApproveTemplateDto>
    {
        //public List<IdNameDataDto> Approvers { get; set; }
        public bool HasConfig { get; set; }
    }


    public class GetApproveInput : IInput
    {
        public EnumApproveType Type { get; set; }
        public int ObjectId { get; set; }
    }
    public class GetApproveOutput : QuerySingleOutput<ApproveDto>
    {
    }


    public class CreateApproveInput : IInput
    {
        public EnumApproveType Type { get; set; }
        public int ObjectId { get; set; }
    }
    public class CreateApproveOutput : IOutput
    {
    }


    public class ApproveFlowInput : IInput
    {
        public EnumApproveState State { get; set; }

        public string Opinion { get; set; }
    }
    public class ApproveFlowOutput : IOutput
    {
    }


}

